package com.example.dto;

import com.example.annotation.MQListener;
import lombok.Data;

@Data
public class MQListenerDto {

    private MQListener mqListener;

    private String name;

    private String type;

    private String beanName;

    public MQListenerDto(MQListener mqListener){
        this.name = mqListener.name();
        this.type = mqListener.type();
        this.mqListener = mqListener;
    }
}
